package org.fjsei.yewu.service.third;

import lombok.Data;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
public class AreaCodName {
    private String areaCod;
    private String areaName;
    private String parentAreaCod;
    private String isDefault;
}

@Data
@Accessors(chain = true)
class HouseBuilding {
    private Long buildId;
    private String buildName;
    private String buildAddr;
    private String instBuildType;
    private String areaCod;
    private String memo;
}

@Data
@Accessors(chain = true)
class OldPtUnit {
    private Long untId;
    private String untName;
    private String untOrgCod;
    private String econmTypeCod;
    private String industryPropCod;
    private String untPropCod;
    private String untAreaCod;
    private String untAddr;
    private String postCod;
    private String untLkmen;
    private String untMobile;
    private String untPhone;
    private String leader;
    private String leaderPhone;
    private Integer  untState;
    private Double  untLong;
    private Double  untLat;
    private List<Long> untTypes;
}
@Data
@Accessors(chain = true)
class OldDepartment {
    private Long untDeptId;
    private Long untId;
    private String name;
    private String deptAreaCod;
    private String deptAddr;
    private String leader;
    private String lkmen;
    private String phone;
    private String mobile;
}
@Data
@Accessors(chain = true)
class OldLoginBody {
    private Long userType;
    private String username;
    private String password;
    private String uuid;
}
@Data
@Accessors(chain = true)
class OldSecudept {
    private Long untSecudeptId;
    private Long untId;
    private String name;
    private String secudeptAreaCod;
    private String secudeptAddr;
    private String leader;
    private String lkmen;
    private String phone;
    private String mobile;
}
@Data
@Accessors(chain = true)
class DepNestOffice {
    private Long id;
    private String label;
    private Long status;
    private String deptPrinc;
    private Long deptLevel;
}
@Data
@Accessors(chain = true)
class JianyanDepOffice {
    private Long id;
    private String label;
    private Long status;
    private String deptPrinc;
    private Long deptLevel;
    //下关联的 科室列表
    private List<DepNestOffice> children;
}

